Skip to content

Block preconditioner#1520

Merged
tlroy merged 37 commits intodevelopfrom
roy/block_preconditioner
Mar 13, 2026
Merged

Block preconditioner#1520
tlroy merged 37 commits intodevelopfrom
roy/block_preconditioner

Conversation

@tlroy
Copy link
Contributor

@tlroy tlroy commented Jan 13, 2026

Add block preconditioners to be used in LinearDifferentiableBlockSolver. This includes block diagonal (additive fieldsplit), block triangular (multiplicative fieldsplit) for arbitrary N x N block systems, as well as Schur complement factorizations for 2x2 systems, with a standard Schur complement approximation (selfp).

@tlroy tlroy added the WIP Work in progress label Jan 13, 2026
@tlroy tlroy added ready for review Ready for active inspection by reviewers and removed WIP Work in progress labels Mar 11, 2026
Copy link
Collaborator

@tupek2 tupek2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the new preconditioners need to set height/width in their SetOperator implementations?

tlroy and others added 22 commits March 11, 2026 16:42
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
Co-authored-by: Hanyu Li <125513291+lihanyu97@users.noreply.github.com>
@tlroy tlroy requested review from lihanyu97 and tupek2 March 13, 2026 22:28
Copy link
Collaborator

@tupek2 tupek2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran this with asan and didnt see any memory issues. Doesn't mean they aren't there, but gives me more confidence. Have to be careful with mfem, as they sometimes take over the memory, sometimes not. Thanks for taking another careful sweep through.

Copy link
Contributor

@lihanyu97 lihanyu97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things look good and clean. Thanks for making an effort to develop this capability!

@tlroy tlroy merged commit 19085a1 into develop Mar 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review Ready for active inspection by reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants